Component({
  // externalClasses: ['wr-class'],

  properties: {
    goodsList: {
      type: Array,
      value: [],
    },
  },

  data: {},

  lifetimes: {
    ready() {
      // this.init();
    },
  },

  methods: {
    goStore(e) {
      const {id} = e.currentTarget.dataset
      wx.navigateTo({
        url: `/pages/store/index?shopId=${id}`,
      })
    }
  },
});
